<input type="hidden" name="id" th:value="${sysMenu.id}" />
<table class="editTable">
	<tr>
		<td style="text-align:right">上级菜单</td>
		<td><input type="text" name="pid" th:value="${sysMenu.pid }"
			data-toggle="topjui-combotree"
			data-options="required:true,prompt:'必填',width:300,panelHeight:'auto',
	 			idField:'id',
				textField:'name',
				url:'/system/menu/list/-1',
				expandUrl:'/system/menu/list/{id}',
				getFatherIdsUrl:'/system/menu/getFatherIds/{id}'">
   		</td>
	</tr>
	<tr>
		<td style="text-align:right">菜单名</td>
		<td><input type="text" name="name" th:value="${sysMenu.text}"
			data-toggle="topjui-textbox"
			data-options="width:300,validType:'length[0,255]'"></td>
	</tr>
	<tr>
		<td style="text-align:right">权限</td>
		<td><input type="text" name="permission" th:value="${sysMenu.permission}"
			data-toggle="topjui-textbox"
			data-options="width:300,validType:'length[0,255]'"></td>
	</tr>
	<tr>
		<td style="text-align:right">地址</td>
		<td><input type="text" name="url" th:value="${sysMenu.url}"
			data-toggle="topjui-textbox"
			data-options="width:300,validType:'length[0,255]'"></td>
	</tr>
	<tr>
		<td style="text-align:right">图标</td>
		<td><input name="iconCls" th:value="${sysMenu.iconCls}" style="width:300px"></td>
	</tr>
	<tr>
		<td style="text-align:right">排序</td>
		<td><input type="text" name="sort" th:value="${sysMenu.sort}"
			data-toggle="topjui-textbox"
			data-options="width:300,validType:'length[0,255]'"></td>
	</tr>
	<tr>
		<td style="text-align:right">备注</td>
		<td><input type="text" name="remark" th:value="${sysMenu.remark}"
			data-toggle="topjui-textarea"
			data-options="width:300,validType:'length[0,255]'"></td>
	</tr>
</table>


<script>
$(function () {
    $("input[name='iconCls']").iIconpicker({
    	editable:true
    });
});
</script>